package com.hmall.mapper;

import com.hmall.model.SysCustomerCreditTransaction;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository
public interface SysCustomerCreditTransactionMapper extends MyMapper<SysCustomerCreditTransaction> {

    List<SysCustomerCreditTransaction> selectNoEffective(@Param("start") Date start);

    void updateStatus(@Param("id") Integer sysCustomerCreditTransactionId, @Param("status") int i);
}